﻿using AnlianCommon.Common.DTO;
using MediatR;

namespace SheepCommon.API.SheepPurchases
{
    public class SheepPurchaseCreateCommand : IRequest<Result>
    {
        /// <summary>
        /// 采购员
        /// </summary>
        public string? PurchaseName { get; set; }
        /// <summary>
        /// 采购日期
        /// </summary>
        public DateTime PurchaseTime { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public int? SheepType { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public string? PurchaseCategory { get; set; }
        /// <summary>
        /// 核算单元
        /// </summary>
        public string? AccountingUnit { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public int? VendorId { get; set; }
        /// <summary>
        /// 摘要
        /// </summary>
        public string? Abstract { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? PrchaseNumber { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? RecordAuricle { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public int? CottageId { get; set; }
        /// <summary>
        /// 栏位
        /// </summary>
        public int? Field { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int? Sex { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? GoodName { get; set; }
        /// <summary>
        /// 标包
        /// </summary>
        public string? Package { get; set; }
        /// <summary>
        /// 计量单位
        /// </summary>
        public decimal? Measurement { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public int? Storage { get; set; }
        /// <summary>
        /// 只均单价
        /// </summary>
        public decimal? PurchasePrice { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal? PurchaseNumPrice { get; set; }
        /// <summary>
        /// 单位折扣
        /// </summary>
        public decimal? PurchaseDiscount { get; set; }
        /// <summary>
        /// 调整金额
        /// </summary>
        public decimal? PurchaseAdjust { get; set; }
        /// <summary>
        /// 结算金额
        /// </summary>
        public decimal? PurchaseSettle { get; set; }
        /// <summary>
        /// 总重量
        /// </summary>
        public decimal? PurchaseWeight { get; set; }
    }
}
